//
//  PlanUpTureController.m
//  PosApp
//
//  Created by 刘萍 on 2018/9/21.
//  Copyright © 2018年 李英新. All rights reserved.
//

#import "PlanUpTureController.h"
#import "MyXYCardController.h"

@interface PlanUpTureController ()

@end

@implementation PlanUpTureController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
    self.navigationItem.title = @"计划提交";
    
}
- (IBAction)ClickOnBtnToPopController:(id)sender {
//    [self.navigationController popToRootViewControllerAnimated:YES];
    for (UIViewController *controller in self.navigationController.viewControllers) {
        if ([controller isKindOfClass:[MyXYCardController class]]) {
            MyXYCardController *A =(MyXYCardController *)controller;
            [self.navigationController popToViewController:A animated:YES];
        }
    }
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
